package com.example.pojo.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

//菜品信息和对应的过敏学生信息
@Data
public class DishWithAllergyInfo {
    private Integer dishId;
    private String dishName;
    private Integer dishType;
    private String allergenInfo;
    private Integer calorie;
    private String dishImg;
    private String ingredient;
    private Timestamp createdAt;
    private List<String> allergicStudents; // 新增的字段，存储过敏学生的名字
}
